package com.zy.bean2;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class Account {
    @Value("${account.id}")
    private String id;
    @Value("${account.name}")
    private String name;
    @Value("${account.password}")
    private String password;
}
